
#ifdef SYPX_MEMCHECK
#include "mmgr.h"
#endif

#include "Wolf.h"

namespace SheepDefence 
{
	Wolf::Wolf()
	{
	}

	Wolf::~Wolf()
	{
	}

	Wolf::Wolf(SypX::FileInputStream& fin, SypX::Sprite* sprite)
	{
		SypX::String temp;

		SypX::ErrorLogger::getLogger() << "Loading Wolf...\n";

		this->sprite = sprite;
		
		std::getline(fin, temp);	// Absorb name

		fin >> collision;
		fin >> speed;
		fin >> fear;
		fin >> pounce;
		fin >> hp;
		fin >> att;
		
		SypX::ErrorLogger::getLogger() << "Loaded: " << speed << ", " << fear << ", " << pounce << ", " << hp << ", " << att << "\n";

		type = WOLF;
	}
}